/*
package com.code.drawable

import android.annotation.SuppressLint
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.ImageView
import android.widget.TextView

class MainActivity : AppCompatActivity() {
    @SuppressLint("ResourceType")
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        var tv = findViewById<ImageView>(R.id.tv)

        */
/*tv.src = shapeDrawable {
            shape(
                Shape.RECTANGLE
            )
            corner(15f)
            solid(R.color.purple_700)

        }*//*


        tv.src = selectorDrawable {
            normal = shapeDrawable {

                corner(15f)
                solid(R.color.purple_700)
            }
            pressed = shapeDrawable {

                corner(30f)
                solid(R.color.purple_500)
            }
        }
    }
}*/
